package com.ruyuan.event.streaming.pojo;

import lombok.Data;
import org.codehaus.jackson.annotate.JsonProperty;

@Data
public class EventLogDTO {

    //基础信息
    @JsonProperty("request_id")
    private String requestId;
    private long timestamp;

    private String imei;
    private String ip;
    private String network;
    @JsonProperty("net_type")
    private String netType;
    @JsonProperty("os_name")
    private String osName;
    @JsonProperty("os_version")
    private String osVersion;

    //user info
    @JsonProperty("user_id")
    private String userId;
    private String locale;
    private long birthyear;
    private String gender;
    @JsonProperty("joined_at")
    private long joinedAt;
    private String location;
    private String country;
    private String province;
    private String city;
    private String timezone;

    //event
    @JsonProperty("event_id")
    private String eventId;
    @JsonProperty("event_user_id")
    private String eventUserId;
    @JsonProperty("event_start_time")
    private long eventStartTime;
    @JsonProperty("event_city")
    private String eventCity;
    @JsonProperty("event_country")
    private String eventCountry;
    @JsonProperty("event_province")
    private String eventProvince;
    @JsonProperty("event_type")
    private String eventType;
    private long join;
    @JsonProperty("not_join")
    private long notJoin;
    @JsonProperty("invited_join")
    private long invitedJoin;
    @JsonProperty("not_invited_join")
    private long notInvitedJoin;
    private long interest;
    @JsonProperty("not_interest")
    private long notInterest;
}